<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>

</body>
<script>
	setTimeout(()=>{
		console.log(200)
	})
	
	
	new Promise(resolve=>{
		resolve(100);
	}).then(value=>{
		console.log(value);// 100
	})
	
	
</script>
</html>